cmake_minimum_required(VERSION 3.5)
project(Seek)
set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package (OpenGL REQUIRED)
set (GLFW_ROOT "")
find_package (GLFW)
find_package (GLEW)
set(CMAKE_CXX_STANDARD 14)
include_directories(
include
${GLFW_INCLUDE_DIR}
lib/stb
lib/glm
lib
)
aux_source_directory(src Seek_SRCS)
add_executable(${PROJECT_NAME} ${Seek_SRCS})
set(Seek_LIBRARIES
    ${OPENGL_LIBRARY}
    ${GLFW_LIBRARIES}
    ${GLEW_LIBRARIES}
    #${PROJECT_SOURCE_DIR}/lib/assimp/bin/libassimp.so
)
if(UNIX)
    list(APPEND Seek_LIBRARIES ${CMAKE_DL_LIBS})
endif()
target_link_libraries(${PROJECT_NAME} ${Seek_LIBRARIES})

#add_subdirectory(
#    src/test
#)